#@datagrid()
#define content_header()
<h1>
    <a href="/recharge">充值管理</a>
    <small>recharge tables</small>
</h1>
<ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
    <li><a href="/recharge/">财务</a></li>
    <li class="active">充值管理</li>
</ol>
#end
#define content()
<div class="box">
    <div class="box-header">
        <!-- search -->
		<form class="navbar-form"
			action="/recharge/1">
			<div class="form-group">
				<label>注册时间</label> <input type="text" name="date1"
					class="form-control input-sm xsui-jedatepicker" placeholder="起始时间"
					title="" value="#(date1??)"> - <input type="text"
					name="date2" class="form-control input-sm xsui-jedatepicker"
					placeholder="终止时间" title="" value="#(date2??)"
					style="margin-right: 10px">
			</div>
			<div class="form-group">
				<label>代理ID/昵称</label> <input type="text" name="word"
					class="form-control input-sm" placeholder="会员ID/昵称" title="会员ID"
					value="#(word)">
			</div>
			<button type="submit" class="btn btn-sm btn-default">搜索</button>
		</form>
        <!--选项卡-->
        #set(tabid="taball")
        #include("_recharge_navtab.html")
    </div>
    <!-- /.box-header -->
    <div class="box-body">
        <table class="xsui-datagrid table table-condensed table-bordered table-striped table-hover">
            <thead>
                <tr>
                    <th>#</th>
                    <th>用户ID</th>
                    <th>充值单号</th>
                    <th>第三方渠道充值单号</th>
                    <th>充值金额</th>
                    <th>充值渠道</th>
                    <th>充值说明</th>
                    <th>充值时间</th>
                    <th>状态</th>
                    <th>操作员</th>
                    <th>审核时间</th>
                    <th>原因</th>
                </tr>
            </thead>
            <tbody>
                #for(x : listPage.getList())
                <tr data-key="#(x.user_id)">
                    <td class="xsui-rowid"></td>
                    <td>#(x.user_id)</td>
                    <td>#(x.serial_no)</td>
                    <td>#(x.out_trade_no)</td>
                    <td>#(x.amount)</td>
                    <td>#(x.pay_channel)</td>
                    <td>#(x.remark)</td>
                    <td>#(x.createTimeText)</td>
                    <td>#(x.statusText)</td>
                    <td>#(x.auditor_id)</td>
                    <td>#(x.audit_time)</td>
                    <td>#(x.rejected_remark)</td>
                </tr>
                #end
            </tbody>
        </table>
        <!--分页条-->
		<table>
			<tr>
				<td>#@paginate(listPage.pageNumber, listPage.totalPage,
					"/recharge/")</td>
				<td><div class="xsui-datagrid-info">
						共<span class="text-danger">#(listPage.getTotalRow())</span>条
					</div></td>
			</tr>
		</table>
    </div>
    <!-- /.box-body -->
</div>
#end